<div class="n-row">&nbsp;</div>
<?=n_mod('nrule')->topNav('站点管理',$data['title'])?>
<div class="a-form content">
	<form method="post" name="nsite-edit" action="<?=n_url('nsite','guCodeSave')?>">
	<div class="n-row">
		<label class="n-col-4">站&nbsp;&nbsp;组：</label>
		<div class="n-col-8">
			<input type="text" name="code" value="<?=empty($data['row']['code'])?'':$data['row']['code']?>" />
			<span>站组名字只能包含字符和数字</span>
		</div>
	</div>
	<div class="n-row"><div class="n-col-12">&nbsp;</div></div>

<!-- 	<div class="n-row">
		<label class="n-col-4">IP地址：</label>
		<div class="n-col-8">
			<input type="text" name="ip" value="<?=empty($data['row']['ip'])?'':$data['row']['ip']?>" />
			<span>存储IP地址，不允许为空</span>
		</div>
	</div>
	<div class="n-row"><div class="n-col-12">&nbsp;</div></div>

	<div class="n-row">
		<label class="n-col-4">端&nbsp;&nbsp;口：</label>
		<div class="n-col-8">
			<input type="text" name="port" value="<?=empty($data['row']['port'])?'':$data['row']['port']?>" />
		</div>
	</div>
	<div class="n-row"><div class="n-col-12">&nbsp;</div></div> -->


	<div class="n-row">
		<div class="n-col-4"></div>
		<div class="n-col-8">
				<?php
				if(!empty($data['row']['id'])){
				?>
				<input type="hidden" name="id" value="<?=$data['row']['id']?>" />
				<?php
				}
				?>
<!-- 				<input type="hidden" name="gutype" value="<?=$data['gutype']?>" /> -->
				<button class="a-button-green">提交</button>
		</div>
	</div>
	</form>
</div>